var mysql   = require('mysql');
var connection = mysql.createConnection({
  host     : 'localhost', 
  user     : 'root',
  password : '123456',
  database : 'cms'
});
 
connection.connect();
console.log('连接成功')
module.exports = connection
